<?php
if(CHILDTEMPLATEPATH && file_exists(CHILDTEMPLATEPATH . '/order_detail_page_above_title.php'))
{
	include_once(CHILDTEMPLATEPATH . '/order_detail_page_above_title.php');
}
?>
<div class="breadcrumb clearfix">
        	<a href="<?php echo site_url(); ?>">Home</a>  
           	<a href="<?php echo site_url('?ptype=myaccount'); ?>"><?php _e(VIEW_ACCOUNT_PAGE_TITLE); ?></a>  
            <?php _e(ORDER_DETAIL_PAGE_TITLE); ?>
		</div>
<?php
if(CHILDTEMPLATEPATH && file_exists(CHILDTEMPLATEPATH . '/order_detail_page_below_title.php'))
{
	include_once(CHILDTEMPLATEPATH . '/order_detail_page_below_title.php');
}
?>
<?php 
$allow_id =$General->get_allow_id($_REQUEST['oid']);
if($allow_id)
{ ?>
<?  echo $General->get_order_detailinfo_tableformat($_REQUEST['oid']); 
}else{
	?>
    <div>
    	<div class="cart-holder" style="text-align:center;">
    	  		    <h3>You do not have sufficient permissions to access this page.Back to <a href="<?php bloginfo(url); ?>/?ptype=myaccount">My Account</a></h3>
    	            </div>
    </div>
<?php }

if(CHILDTEMPLATEPATH && file_exists(CHILDTEMPLATEPATH . '/order_detail_page_end.php'))
{
	include_once(CHILDTEMPLATEPATH . '/order_detail_page_end.php');
}
?>